#{extends '/template/main.html' /}
<!-- Removing search and results count filter -->
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">平面列表</h3>
    </div>
    <div class="panel-body">
        #{list roomList,as:'room'}
            <a href="/BS0009/admin/room/bespeak/${room?.id}">
                <div style="float: left;margin-right: 15px;margin-bottom: 15px;background:${room?.occupiedStatus?.toString() == 'BE_OCCUPIED' ? 'orangered' : 'mediumseagreen'};color:#ffffff;padding:20px 20px;" align="center" data-toggle="tooltip" data-placement="bottom" title="${room?.toolTip}" data-html="true">
                    <div><img src="${room?.roomImage}" style="width: 104px;height:78px;"></div>
                    <div style="margin-top: 10px;">${room?.roomName}</div>
                </div>
            </a>
        #{/list}
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        // 提示
        var msg = '${flash.get("msg")}';
        if(msg) {
            saveSuccess(msg);
        }
    });
</script>


